package com.springcloud.hystrix;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zheny
 */
@FeignClient(fallback = DcClientFallback.class,value = "eureka-client")
@Component
public interface DcClient {

    @GetMapping("/dc")
    String consumer();
}
